package com.imdroid.udp.push.objects;

import com.imdroid.modal.Team;
import com.imdroid.udp.FileTypes;

public class UTeamCancel extends Pushable {

	private static final byte header = FileTypes.TEAM_CANCEL;
	
	/**
	 * The team
	 */
	private Team team;
	
	public UTeamCancel(Team team){
		this.team = team;
	}
	
	@Override
	protected byte getHeader() {
		return header;
	}

	@Override
	protected String getBody() {
		return team.getTeamId() + "";
	}

}
